@import url("https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap");

.dai-layout,
.dai-layout button,
.dai-layout input,
.dai-layout textarea {
  font-family: Onest, sans-serif !important;
}

.dai-layout code,
.dai-layout pre,
.dai-layout kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.dai-ask-ai-button,
.dai-agent-chat,
button:has(.lucide-sparkles) {
  display: none !important;
}

.mt-16:has(> .dai-footer),
.dai-footer {
  display: none !important;
}

.dai-logo a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  height: 32px !important;
  overflow: visible !important;
}

.dai-logo a img {
  height: 28px !important;
  width: auto !important;
}

.dai-logo a::after {
  content: "kuyo.bot" !important;
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.dark .dai-logo a::after {
  color: #fafafa !important;
}

.dai-sidebar {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

.dai-sidebar > div.bg-sidebar {
  display: none !important;
}

.dai-sidebar > [data-sidebar-scroll-container],
.dai-sidebar > .overflow-y-auto {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding-bottom: 12px !important;
}

[data-kuyo-actions] {
  position: relative !important;
  flex-shrink: 0 !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 8px 16px 16px !important;
  margin: 0 !important;
  background: inherit !important;
}

[data-kuyo-actions] a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #161616 !important;
  border: 1px solid #2a2a2a !important;
  color: #f4f4f5 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  .dai-navbar-search {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    width: 296px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 12px 18px 12px 12px !important;
    box-sizing: border-box !important;
    z-index: 120 !important;
    display: flex !important;
    align-items: center !important;
    background: #181818 !important;
  }

  .dai-navbar-search .dai-search {
    display: flex !important;
    max-width: none !important;
    width: 100% !important;
    height: 34px !important;
    border-radius: 8px !important;
  }

  .dai-navbar-search .dai-search > span {
    display: none !important;
  }

  .dai-sidebar > [data-sidebar-scroll-container],
  .dai-sidebar > .overflow-y-auto {
    padding-top: 58px !important;
  }
}

.dai-sidebar svg.lucide {
  color: rgb(0 0 0 / 0.45) !important;
  opacity: 1 !important;
}

.dark .dai-sidebar svg.lucide {
  color: rgb(255 255 255 / 0.45) !important;
}

.dai-sidebar-page-active svg.lucide,
.dai-sidebar a[aria-current="page"] svg.lucide {
  color: currentColor !important;
}

.dai-sidebar-page-group {
  position: relative !important;
}

.dai-sidebar-page-group::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.28) 0%,
    rgb(0 0 0 / 0.1) 45%,
    rgb(0 0 0 / 0) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.dark .dai-sidebar-page-group::before {
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 0.28) 0%,
    rgb(255 255 255 / 0.1) 45%,
    rgb(255 255 255 / 0) 100%
  );
}

.dai-sidebar-page-group > .grid a.dai-sidebar-page {
  margin-left: 14px !important;
  margin-right: 0 !important;
  width: calc(100% - 14px) !important;
}